SmartCrawl\Redirects\Controller B

Total Complexity 88
Dependencies 7
Dependents 1
Total lines 536
Lines of code 399
Logical lines of code 216
Comment lines 65
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
import_redirects_from_csv()
A
38 14 73
save_redirect()
A
50 8 29
find_regex_redirect()
S
55 7 19
bulk_update_redirects()
S
50 6 29
smartcrawl_page_redirect()
S
56 6 18
export_csv()
S
49 5 32
display_upgrade_notice()
S
49 4 35
redirect_attachments()
S
56 5 18
intercept()
S
57 3 19
allowed_hosts_filter()
S
58 3 17
delete_redirect()
S
61 3 13
find_plain_redirect()
S
64 3 11
init()
S
56 2 17
get_request_data()
S
76 3 3
should_run()
S
71 3 5
find_match()
S
63 3 10
get_current_url()
S
68 2 6
maybe_create_table()
S
71 2 6
sanitize_post_redirect()
S
67 1 8
is_source_regex_invalid()
S
73 1 4
get_url_query_vars()
S
70 1 7
find_regex_destination()
S
67 1 8
get_current_path()
S
80 1 3
to_safe_redirection()
S
65 1 9